import request from '@utils/request'
//获取项目列表
export const allprojectTip = (data) => {
    return request.get(`/api/statistics/allprojectTip?uid=${data}`)
}
//获取项目列表
export const getHomeList = (data) => {
    return request.get(`/api/statistics/allprojectlist?uid=${data}`)
}
//更加项目id和阶段id获取阶段信息
export const getStageTimeByStage = (data) => {
    return request.get(`/api/project/getStageTimeByStage?project_id=${data.project_id}&stage_id=${data.stage_id}`)
}

export default { allprojectTip, getHomeList, getStageTimeByStage }